#pragma once
#include "baseid.h"
#define SIZE 8
class CNilKey :
	public CBaseKey
{
	friend bool operator == (const CNilKey  &cLeft,const CNilKey  & cRight);
	
public:
	CNilKey(void);
	~CNilKey(void);
	string ToString() ;
	bool FromString(const string & strValue);
	static int GetDistance(const CNilKey& cLeft,const CNilKey& cRight);
	static int Compare(const CNilKey& cLeft,const CNilKey& cRight);
	CNilKey(const CNilKey & tmp);
	CNilKey(const string & tmp);
	CNilKey& operator = (const CNilKey & cTmp);
	inline char* GetDataPointer()
	{
		return (char *)m_rgId;
	};
protected:	
	unsigned long m_rgId[SIZE];
};

